<?php
class Mabout extends CI_Model
{
    protected $_table = "tbl_intro";
    public function __construct() {
        parent::__construct();
        $this->load->database();
    }
    public function getdata($id){
        $this->db->where("in_rewrite",$id);
        $query = $this->db->get($this->_table);
        return $query->row_array();
    }
}
?>